import reuqest from "../utils/request";

export const loginByPassword = (data = { username: 'admin', password: "admin" }) => {
    return reuqest({
        url: '/login',
        method: 'post',
        data
    })
}